package com.why.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author new wei
 * @date 2022/5/16 9:27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Manage {
    private Integer mid;
    private Integer vid;
    private Integer tid;
    private Integer pid;
    private Integer uid;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date created;

    private Integer num;
    private String vname;
    private String tname;
    private String pname;
    private String uname;
    private String startTime;
    private String endTime;
    private Double price;
    private List<Detail> detailList;

}
